home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / driver / win31sfx.zip / INSTALL.BAT < prev    next >
DOS Batch File  |  1992-08-14  |  5KB  |  112 lines

  1. @echo off
  2. echo off
  3. cls
  4. if (%ATI_SND%) == () goto NOSFX
  5. if () == (%1) goto NO_ARG
  6. if (a:) == (%1) goto FDISK
  7. if (b:) == (%1) goto FDISK
  8. if (A:) == (%1) goto FDISK
  9. if (B:) == (%1) goto FDISK
  10. cls
  11. echo                ┌───────────────────────────────────┐
  12. echo                │** Stereo■FX Windows 3.1 Drivers **│
  13. echo                └───────────────────────────────────┘
  14. echo         ───────────────────────────────────────────────────────────
  15. echo                    ERROR: Invalid drive specified.
  16. echo                      You must use drive A: or B:
  17. echo         ───────────────────────────────────────────────────────────
  18. echo 
  19. goto DONE
  20. :NOSFX
  21. cls
  22. echo                  ┌───────────────────────────────────┐
  23. echo                  │** Stereo■FX Windows 3.1 Drivers **│
  24. echo                  └───────────────────────────────────┘
  25. echo                          ─────────────────
  26. echo                ERROR: Can't find ATI_SND in environment!
  27. echo           Please add the following line to your AUTOEXEC.BAT:
  28. echo  
  29. echo                         SET ATI_SND=C:\SFX\
  30. echo  
  31. echo                NOTE: Trailing backslash required.
  32. echo                          ─────────────────
  33. echo         If you have not previously installed the ATI Stereo■F/X
  34. echo         software diskettes that came with the card, please do it now.
  35. echo         This is necessary for this batch file to function correctly.
  36. echo                           ───────────────
  37. echo           ATI Customer Support   (416) 756-0711  9am-5:30pm EST
  38. echo 
  39. goto DONE
  40. :NO_ARG
  41. cls
  42. echo                  ┌───────────────────────────────────┐
  43. echo                  │** Stereo■FX Windows 3.1 Drivers **│
  44. echo                  └───────────────────────────────────┘
  45. echo      This batch file needs to know what drive you wish to install
  46. echo         the files on. You must install this to a diskette.
  47. echo                        ─────────────────────────
  48. echo                       │ Usage: INSTALL [drive]: │
  49. echo                        ─────────────────────────
  50. echo                           Example: INSTALL A:
  51. echo 
  52. goto DONE
  53. :FDISK
  54. cls
  55. echo                ┌───────────────────────────────────┐
  56. echo                │** Stereo■FX Windows 3.1 Drivers **│
  57. echo                └───────────────────────────────────┘
  58. echo                          ─────────────────
  59. echo             This batch file will conveniently extract this
  60. echo                 diskette to a 360K or 720K floppy.
  61. echo                          ─────────────────
  62. echo             Please ensure that you have a blank/formatted
  63. echo            360K or 720K diskette ready before you continue.
  64. echo                          ─────────────────
  65. echo               Press any key to continue the installation
  66. echo                         or CONTROL-C to abort.
  67. echo 
  68. pause >nul
  69. cls
  70. echo                ┌───────────────────────────────────┐
  71. echo                │** Stereo■FX Windows 3.1 Drivers **│
  72. echo                └───────────────────────────────────┘
  73. echo                          ─────────────────
  74. echo Decompressing...
  75. sfx31 /e%1
  76. if ERRORLEVEL == 0 goto OK
  77. goto ERROR
  78. :OK
  79. cls
  80. echo                ┌───────────────────────────────────┐
  81. echo                │** Stereo■FX Windows 3.1 Drivers **│
  82. echo                └───────────────────────────────────┘
  83. echo                          ─────────────────
  84. echo      The Windows 3.1 Stereo■F/X drivers have been successfully
  85. echo      copied to floppy. You must read the READ.ME located on this
  86. echo      disk to correctly install the sound drivers.
  87. echo                          ─────────────────
  88. echo      The next step is to replace the older version of WINDAT that is
  89. echo      currently on your hard drive. The new WINDAT is compatible
  90. echo      with Windows 3.1. If you do not wish to install the new WINDAT,
  91. echo      at this time, press CTRL-C now. WINDAT can be installed at
  92. echo      any time by using the INSTDAT.BAT batch file.
  93. echo                          ─────────────────
  94. echo          Press any key to install WINDAT, or CTRL-C to abort.
  95. echo 
  96. pause >nul
  97. instdat
  98. :ERROR
  99. cls
  100. echo                       ╒══════════════════════╕
  101. echo                       │ Installation failed! │
  102. echo                       ╘══════════════════════╛
  103. echo                           ───────────────
  104. echo           The installation has failed. Reformat the diskette
  105. echo           and try the installation again. If the problem persists
  106. echo           either download the file again, or contact ATI Customer
  107. echo           Support for assistance.
  108. echo                           ───────────────
  109. echo           ATI Customer Support   (416) 756-0711  9am-5:30pm EST
  110. echo 
  111. :DONE
  112.